package com.pactera.madp.cp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pactera.madp.cp.api.entity.WorkEmployeeDepartmentEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkEmployeeDepartmentMapper extends BaseMapper<WorkEmployeeDepartmentEntity> {

    List<Integer> getEmployeeIdsByDepts(@Param("deptIds") List<Integer> allChildDept);

    String getDeptNameByEmployeeId(@Param("employeeId") Integer employeeId, @Param("corpId") Integer corpId);

}
